// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.content.Context;
import android.view.*;
import android.widget.*;
import com.nnee.p_img.cls_d;
import java.util.ArrayList;
import java.util.List;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            bn, co, ba, bb, 
//            PRISActivityWBSetting

class cls_cp extends BaseAdapter
{

    public cls_cp(cls_PRISActivityWBSetting prisactivitywbsetting, Context context)
    {
        c = prisactivitywbsetting;
        super();
        a = new ArrayList();
        b = context;
    }

    public void a(List list)
    {
        a.clear();
        a.addAll(list);
    }

    public int getCount()
    {
        return 7;
    }

    public Object getItem(int i)
    {
        return a.get(i);
    }

    public long getItemId(int i)
    {
        return (long)i;
    }

    public View getView(int i, View view, ViewGroup viewgroup)
    {
        bn bn1;
        co co1;
        int j;
        int k;
        if(view == null)
        {
            view = LayoutInflater.from(b).inflate(0x7f030050, null);
            bn bn2 = new bn();
            bn2.d = (TextView)view.findViewById(0x7f0d0135);
            bn2.a = (ImageView)view.findViewById(0x7f0d0130);
            bn2.b = (TextView)view.findViewById(0x7f0d0132);
            bn2.c = (TextView)view.findViewById(0x7f0d0133);
            bn2.e = (ImageView)view.findViewById(0x7f0d0136);
            bn2.f = (TextView)view.findViewById(0x7f0d0134);
            bn2.g = view.findViewById(0x7f0d0131);
            view.setTag(bn2);
        }
        bn1 = (bn)view.getTag();
        co1 = (co)getItem(i);
        bn1.d.setOnClickListener(new cls_ba(this, co1));
        j = -1;
        k = -1;
        co1.c;
        JVM INSTR tableswitch 1 7: default 220
    //                   1 379
    //                   2 401
    //                   3 390
    //                   4 434
    //                   5 423
    //                   6 412
    //                   7 445;
           goto _L1 _L2 _L3 _L4 _L5 _L6 _L7 _L8
_L1:
        break; /* Loop/switch isn't completed */
_L8:
        break MISSING_BLOCK_LABEL_445;
_L9:
        bn1.b.setText(j);
        bn1.a.setImageResource(k);
        if(co1.d)
        {
            bn1.d.setText(0x7f0a0124);
            bn1.d.setVisibility(0);
            bn1.e.setVisibility(8);
            StringBuilder stringbuilder = new StringBuilder();
            bn1.a.setTag(stringbuilder);
            d.a().a(stringbuilder, 1, co1.f, new bb(this, bn1), -1, -1, 2, PRISActivityWBSetting.c(c));
            bn1.g.setVisibility(0);
            bn1.b.setText(co1.a);
            bn1.c.setText(co1.e);
            bn1.f.setVisibility(8);
        } else
        {
            bn1.e.setVisibility(0);
            bn1.d.setVisibility(8);
            bn1.g.setVisibility(8);
            bn1.f.setVisibility(0);
            bn1.f.setText(co1.a);
        }
        return view;
_L2:
        j = 0x7f0a011d;
        k = 0x7f0200c8;
          goto _L9
_L4:
        j = 0x7f0a011e;
        k = 0x7f0200ce;
          goto _L9
_L3:
        j = 0x7f0a011f;
        k = 0x7f0200cd;
          goto _L9
_L7:
        j = 0x7f0a0120;
        k = 0x7f02015d;
          goto _L9
_L6:
        j = 0x7f0a0121;
        k = 0x7f02015e;
          goto _L9
_L5:
        j = 0x7f0a0122;
        k = 0x7f02015f;
          goto _L9
        j = 0x7f0a0123;
        k = 0x7f0200d8;
          goto _L9
    }

    List a;
    Context b;
    final cls_PRISActivityWBSetting c;
}
